.class public Lcom/xingbook/audio/activity/XingAudioMainActivity;
.super Lcom/xingbook/park/activity/BaseXbMainActivity;

# interfaces
.implements Lcom/xingbook/service/download/f;


# instance fields
.field private d:I

.field private e:Lcom/xingbook/audio/d/l;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseXbMainActivity;-><init>()V

    const/16 v0, 0x50

    iput v0, p0, Lcom/xingbook/audio/activity/XingAudioMainActivity;->d:I

    new-instance v0, Lcom/xingbook/audio/activity/r;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/r;-><init>(Lcom/xingbook/audio/activity/XingAudioMainActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/XingAudioMainActivity;->e:Lcom/xingbook/audio/d/l;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/audio/activity/XingAudioMainActivity;)Lcom/xingbook/park/c/a/d;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/XingAudioMainActivity;->a:Lcom/xingbook/park/c/a/d;

    return-object v0
.end method

.method public static a(Landroid/content/Context;I)V
    .locals 3

    const/4 v2, 0x6

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/audio/activity/XingAudioMainActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    if-ltz p1, :cond_0

    const-string v1, "com.xingbook.audio.activity.XingAudioMainActivity.EXTRA_RESTYPE"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    :cond_0
    instance-of v1, p0, Landroid/app/Activity;

    if-nez v1, :cond_1

    const/high16 v1, 0x1000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    :cond_1
    instance-of v1, p0, Lcom/xingbook/park/activity/BaseActivity;

    if-eqz v1, :cond_2

    check-cast p0, Lcom/xingbook/park/activity/BaseActivity;

    invoke-virtual {p0, v0, v2}, Lcom/xingbook/park/activity/BaseActivity;->a(Landroid/content/Intent;I)V

    :goto_0
    return-void

    :cond_2
    instance-of v1, p0, Lcom/xingbook/park/activity/BaseFragmentActivity;

    if-eqz v1, :cond_3

    check-cast p0, Lcom/xingbook/park/activity/BaseFragmentActivity;

    invoke-virtual {p0, v0, v2}, Lcom/xingbook/park/activity/BaseFragmentActivity;->a(Landroid/content/Intent;I)V

    goto :goto_0

    :cond_3
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/xingbook/audio/activity/XingAudioMainActivity;)V
    .locals 0

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/XingAudioMainActivity;->l()V

    return-void
.end method


# virtual methods
.method public a()I
    .locals 1

    iget v0, p0, Lcom/xingbook/audio/activity/XingAudioMainActivity;->d:I

    return v0
.end method

.method public a(Landroid/content/Intent;)V
    .locals 2

    if-eqz p1, :cond_0

    const-string v0, "com.xingbook.audio.activity.XingAudioMainActivity.EXTRA_RESTYPE"

    const/16 v1, 0x50

    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/xingbook/audio/activity/XingAudioMainActivity;->d:I

    :cond_0
    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
    .locals 1

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    invoke-virtual {v0, p1, p2, p3, p4}, Lcom/xingbook/service/download/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    return-void
.end method

.method public a(I)Z
    .locals 1

    const/4 v0, 0x2

    if-ne p1, v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public b()V
    .locals 6

    const/4 v5, 0x0

    const-string v0, "\u661f\u5b9d\u542c\u542c"

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/XingAudioMainActivity;->a()I

    move-result v1

    const/16 v2, 0x40

    if-ne v1, v2, :cond_0

    const-string v0, "\u661f\u5b9d\u513f\u6b4c"

    :cond_0
    iget-object v1, p0, Lcom/xingbook/audio/activity/XingAudioMainActivity;->a:Lcom/xingbook/park/c/a/d;

    const/4 v2, 0x3

    new-array v2, v2, [Ljava/lang/String;

    const-string v3, "\u6392\u884c"

    aput-object v3, v2, v5

    const/4 v3, 0x1

    const-string v4, "\u7cbe\u9009"

    aput-object v4, v2, v3

    const/4 v3, 0x2

    const-string v4, "\u5168\u90e8"

    aput-object v4, v2, v3

    invoke-virtual {v1, v0, v5, v2}, Lcom/xingbook/park/c/a/d;->a(Ljava/lang/String;I[Ljava/lang/String;)V

    return-void
.end method

.method public b(I)Z
    .locals 1

    if-nez p1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public c()I
    .locals 1

    const/4 v0, 0x2

    return v0
.end method

.method public c(I)Z
    .locals 1

    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public d()I
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public e()Ljava/lang/String;
    .locals 3

    const-string v0, "\u661f\u5b9d\u542c\u542c-\u4e3b\u9875"

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/XingAudioMainActivity;->a()I

    move-result v1

    const/16 v2, 0x40

    if-ne v1, v2, :cond_0

    const-string v0, "\u661f\u5b9d\u513f\u6b4c-\u4e3b\u9875"

    :cond_0
    return-object v0
.end method

.method public f()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public g()Lcom/xingbook/park/a/e;
    .locals 2

    new-instance v0, Lcom/xingbook/audio/a/f;

    iget-object v1, p0, Lcom/xingbook/audio/activity/XingAudioMainActivity;->e:Lcom/xingbook/audio/d/l;

    invoke-direct {v0, p0, v1}, Lcom/xingbook/audio/a/f;-><init>(Landroid/app/Activity;Lcom/xingbook/audio/d/l;)V

    return-object v0
.end method

.method public h()Lcom/xingbook/park/a/c;
    .locals 2

    new-instance v0, Lcom/xingbook/audio/a/c;

    iget-object v1, p0, Lcom/xingbook/audio/activity/XingAudioMainActivity;->c:Lcom/xingbook/park/c/a/x;

    invoke-direct {v0, p0, v1}, Lcom/xingbook/audio/a/c;-><init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/x;)V

    return-object v0
.end method

.method public i()Lcom/xingbook/park/a/a;
    .locals 2

    new-instance v0, Lcom/xingbook/audio/a/a;

    new-instance v1, Lcom/xingbook/audio/activity/s;

    invoke-direct {v1, p0}, Lcom/xingbook/audio/activity/s;-><init>(Lcom/xingbook/audio/activity/XingAudioMainActivity;)V

    invoke-direct {v0, p0, v1}, Lcom/xingbook/audio/a/a;-><init>(Landroid/app/Activity;Lcom/xingbook/park/c/a/p;)V

    return-object v0
.end method
